package com.ev.asl.config;

/**
 * 爱赛璐常量
 * @author 姚家乐
 * @since 2021/5/26 15:03
 */
public class JiateConstant {

    /**
     * 否
     */
    public static final Integer NO   = 0;
    /**
     * 是
     */
    public static final Integer YES  = 1;

    /**
     * 零
     */
    public static final Integer ZERO = 0;
    /**
     * 一
     */
    public static final Integer ONE  = 1;
    /**
     * 二
     */
    public static final Integer TWO  = 2;


/**  --------------------------------------------------------------------------------------------------- */

    //同步api工程标识
    public static final String  ACCT  = "XRTEST";


    //计量单位type
    public static final String UOM_TYPE = "uom_type";
    //仓库类型type
    public static final String FAC_TYPE = "fac_type";
    //单位type
    public static final Long  UOM_TYPE_KEY = 1L;
    //新增蓝字单据
    public static final int  ROB_BLUE  = 1;

    //删除 扣除单据  红字
    public static final int  ROB_RED  = -1;

    //客户
    public static final int CLIENT  = 1;
    //部门
    public static final int DEPART  = 2;
    //职员
    public static final int USERS  = 3;
    //物料
    public static final int MATERIEL  = 4;
    //仓库  or  仓位
    public static final int  WAREHOUSE_OR_LOCATION  = 5;
    //供应商
    public static final int SUPPLIER  = 8;
    //计量单位
    public static final int UNIT  = 100;

    //收料通知
    public static final int RECEIVING_NOTIFICATION  = 72;
    //发货通知
    public static final int SHIPMENTS_NOTIFICATION  = 83;
    //BOM单
    public static final int BOM_BILL  = 50;
    //生产计划  --->  对应金蝶的 生产任务单
    public static final int PRODUCTION_PLAN  = 85;
    //生产投料单
    public static final int PRODUCTION_FEEDING = 88;


    //采购入库---->外购入库蓝字
    //采购退货---->外购入库红字
    public static final int OUTSOURCING_WAREHOUSING = 1;

    //生产领料---->生产领料库 蓝字
    //生产退料---->生产领料 红字
    public static final int PRODUCTION_MATERIAL_REQUISITION = 24;

    //生产入库---->产品入库 蓝字
    public static final int PRODUCTION_STORAGE = 2;

    //废料调拨---->产品入库 蓝字
    public static final int ALLOCATION_STORAGE = 41;

    //销售出库---->销售出库 蓝字
    //销售退货---->销售出库 红字
    public static final int SALES_OUTBOUND = 21;

}
